TARGET = OGLES2PODPlayer
TEMPLATE = app

APPROOT = ../..
SDKROOT  = $$APPROOT/../../../..

QT += opengl
CONFIG += qt console

# Add our source files
SOURCES +=  \
	$$SDKROOT/Extras/PODPlayer/Source/PODPlayer.cpp \
	$$SDKROOT/Extras/PODPlayer/Source/PVRES.cpp \
	$$SDKROOT/Extras/PODPlayer/Source/PVRESParser.cpp

# Add our header files
HEADERS  +=  \
	$$SDKROOT/Extras/PODPlayer/Source/PODPlayer.h \
	$$SDKROOT/Extras/PODPlayer/Source/PVRES.h \
	$$SDKROOT/Extras/PODPlayer/Source/PVRESParser.h

# Add our include paths
INCLUDEPATH +=  \
	$$SDKROOT/Shell \
	$$SDKROOT/Shell/API/Qt \
	$$SDKROOT/Shell/OS/Qt \
	$$SDKROOT/Builds/OGLES2/Include \
	$$SDKROOT/Tools \
	$$SDKROOT/Tools/OGLES2 \
	$$SDKROOT/Extras/PODPlayer/Source \
	$$SDKROOT/Extras/PVREngine/Include \
	$$SDKROOT/Extras/PVREngine/Include/OGLES2 \
	
# depends
LIBS +=  \
	-L$$SDKROOT/Tools/OGLES2/Build/Qt \
	-L$$SDKROOT/Extras/PVREngine/OGLES2/Build/Qt \
	-lOGLES2PVREngine -lOGLES2Tools 

# Install
target.path = /home/developer/POWERVR/OGLES2PODPlayer
INSTALLS += target

DEFINES += BUILD_OGLES2 __QT__
